package com.woniuxy.credit_loans.mapper;


import com.woniuxy.credit_loans.audit_li.vo.BorrowerInfoUserVo;
import com.woniuxy.credit_loans.audit_li.vo.BorrowerInfoVo;
import com.woniuxy.credit_loans.entity.BorrowerInfo;

import java.util.List;

/**
* @author donghang
* @description 针对表【borrower_info(borrower_info)】的数据库操作Mapper
* @createDate 2022-12-06 12:05:35
* @Entity com.woniuxy.credit_loans.entity.BorrowerInfo
*/
public interface BorrowerInfoMapper {
    BorrowerInfoUserVo selectCheckByUserNameLi(String userName);

    List<BorrowerInfoVo> selectAllCheck();
    List<BorrowerInfoVo> selectCheckByDiDebitStatusChu();
    List<BorrowerInfoVo> selectCheckByDiDebitStatusFu();
    List<BorrowerInfoVo> selectCheckByDiDebitStatusWei();
    BorrowerInfoVo selectCheckByUinfoId(Long uinfoId);

    int deleteByPrimaryKey(Long id);

    int insert(BorrowerInfo record);

    int insertSelective(BorrowerInfo record);

    BorrowerInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BorrowerInfo record);

    int updateByPrimaryKey(BorrowerInfo record);

}
